<?php
/* @var $this SelisteController */
/* @var $model Seliste */
$cs = Yii::app()->getClientScript();
$cs->registerScript('compte', "
		$('#compte_toolbar .btn').tooltip();
",CClientScript::POS_READY );
?>

<h1>Mon compte 
	<div class="btn-group" id="compte_toolbar">
	<?php 
	echo CHtml::link("<span class=\"glyphicon glyphicon-pencil\"></span>",array('seliste/update_compte'),array('class'=>"btn btn-sm btn-primary","data-toggle"=>"tooltip","data-placement"=>"top","title"=>"Modifier mes informations","data-container"=>"body"));
	echo CHtml::link("<span class=\"glyphicon glyphicon-lock\"></span>",array('seliste/update_compte_pass'),array('class'=>"btn btn-sm btn-primary","data-toggle"=>"tooltip","data-placement"=>"top","title"=>"Modifier mon mot de passe","data-container"=>"body"));
	echo CHtml::link("<span class=\"glyphicon glyphicon-list\"></span>",array('seliste/update_compte_grains'),array('class'=>"btn btn-sm btn-primary","data-toggle"=>"tooltip","data-placement"=>"top","title"=>"Modifier la liste de mes grains","data-container"=>"body"));
	?>
	</div>
</h1>

<?php $this->renderPartial('_view',array(
			'model'=>$model
)); ?>